<!-- $Id: goods_type.htm 14216 2008-03-10 02:27:21Z testyang $ -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>MYSHOP 管理中心 - 商品类型</title>
  <meta name="robots" content="noindex, nofollow">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <css file="__PUBLIC__/Admin/css/general.css" />
  <css file="__PUBLIC__/Admin/css/main.css" />
  <script type="text/javascript" src="__PUBLIC__/Admin/js/transport.js"></script>
  <script type="text/javascript" src="__PUBLIC__/Admin/js/common.js"></script>
</head>
<body>

  <h1>
    <span class="action-span">
      <a href="{:U('addType')}">新建商品类型</a>
    </span>
    <span class="action-span1">
      <a href="">MYSHOP 管理中心</a>
    </span>
    <span id="search_id" class="action-span1">- 商品类型</span>
    <div style="clear:both"></div>
  </h1>

  <script type="text/javascript" src="__PUBLIC__/Admin/js/utils.js"></script>
  <script type="text/javascript" src="__PUBLIC__/Admin/js/listtable.js"></script>

  <form method="post" action="" name="listForm">
    <div class="list-div" id="listDiv">
      <table width="100%" cellpadding="3" cellspacing="1" id="listTable">
        <tr>
          <th>商品类型ID</th>
          <th>商品类型名称</th>
          <th>属性数</th>
          <th>操作</th>
        </tr>
        <foreach name='type' item='v'>
          <tr>
            <td align="center">{$v.id}</td>
            <td class="first-cell">
              <span>{$v.name}</span>
            </td>
            <td align="center">{$v.attrnum}</td>
            <td align="center">
              <a href="{:U('attrList', array('id' =>$v['id']))}">属性列表</a>
              |
              <a href="{:U('editType', array('id' =>$v['id']))}">编辑</a>
              |
              <a href="javascript:;" onclick="listTable.remove(1, '删除商品类型将会清除该类型下的所有属性。\n您确定要删除选定的商品类型吗？')">删除</a>
            </td>
          </tr>
        </foreach>
        <tr>
          <td colspan='4' align='center'>{$page}</td>
        </tr>
      </table>
    </div>
  </form>

</body>
</html>